package com.zhc.dejingapi.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhc
 * @since 2024-08-03
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("qing_moorderrouting")
@ApiModel(value = "QingMoorderroutingEntity对象", description = "")
public class QingMoorderroutingEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "detail_id", type = IdType.AUTO)
    private Long detailId;

    @TableField("main_id")
    private Long mainId;

    @TableField("qingApplyId")
    private Long qingApplyId;

    @TableField("opSeq")
    private Integer opSeq;

    @TableField("opCode")
    private String opCode;

    @TableField("opName")
    private String opName;

    @TableField("opRefer")
    private Long opRefer;

    @TableField("opQty")
    private BigDecimal opQty;

    @TableField("opRatio")
    private BigDecimal opRatio;

    @TableField("motaskCode")
    private String motaskCode;

    @TableField("proBatchCode")
    private String proBatchCode;

    @TableField("isFirstFlag")
    private String isFirstFlag;

    @TableField("isLastFlag")
    private String isLastFlag;

    @TableField("detailRowStatus")
    private String detailRowStatus;

    @TableField("randcodes")
    private String randcodes;

    @TableField("detailmemo")
    private String detailmemo;

    @TableField("planStartTime")
    private LocalDateTime planStartTime;

    @TableField("planEndTime")
    private LocalDateTime planEndTime;

    @TableField("detailEqCode")
    private String detailEqCode;

    @TableField("detailMoldCode")
    private String detailMoldCode;

    @TableField("finishQty")
    private Integer finishQty;

    @TableField("leaveQty")
    private Integer leaveQty;

    @TableField("machineCode")
    private String machineCode;

    @TableField("moldCode")
    private String moldCode;


}
